go top

generic function
[dʒəˈnerɪk ˈfʌŋkʃn]

  • 通用函数:在计算机编程中,通用函数是一种可以处理多种数据类型的函数,通常通过参数化类型或者运行时类型检查来实现。

专业释义英英释义

  • 类属函数
    类函数

·2,447,543篇论文数据,部分数据来源于NoteExpress

Generic function

  • abstract: In certain systems for object-oriented programming such as the Common Lisp Object SystemThe Common Lisp Object System: An Overview and Dylan, a generic function is an entity made up of all methods having the same name. Typically a generic function itself is an instance of a class that inherits both from function and standard-object.

以上来源于: WordNet

同近义词

  • [数]类函数;广函数
  • method

双语例句

  • As a simple example, let us create a generic function called whoami and some tagged methods to dispatch to.

    作为简单例子我们创建一个称为whoami泛型函数以及一些分派标记方法

    youdao

  • In prior examples, we always used the same doIt() name to define specializations of the generic function doIt().

    在上个例子中我们总是使用相同 doIt() 定义通用函数 doIt() 的独特性。

    youdao

  • It is true enough that dispatch.on generic function signatures for new types can be added without changing the prior code.

    对于新的类型来说,的确可以添加dispatch . on通用函数签名而不用修改以前代码

    youdao

更多双语例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定